<?php #echo '<pre>',print_r($log, true),'</pre>'; ?>

<h2><?php echo $log['cmd']; ?></h2>

<?php if (!empty($log['stderr'])): ?>
<h3>StdErr</h3>
<pre class="alert alert-error"><?php echo CHtml::encode(implode("", $log['stderr'])); ?></pre>
<?php endif; ?>


<?php if (!empty($log['stdout'])): ?>
<h3>StdOut</h3>
<pre class="alert alert-info"><?php echo CHtml::encode(implode("", $log['stdout'])); ?></pre>
<?php endif; ?>